<?php

/* @var $this yii\web\View */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
$this->title = '后台首页';
?>
<div class="signin">
    <div class="signin-head"><h1>竞拍后台</h1></div>
    <?php $form = ActiveForm::begin([
        'options' => ['class' => 'form-signin form-horizontal'],
        'fieldConfig' => [
            'template' => "{label}\n<div class=\"col-lg-7\">{input}</div>\n<div class=\"col-lg-3\">{error}</div>",
            'labelOptions' => ['class' => 'col-lg-2 control-label'],
        ],
    ]); ?>
    <?= $form->field($model,'username') ?>
    <?= $form->field($model,'password')->passwordInput() ?>
    <?= $form->field($model, 'rememberMe')->checkbox([
        'template' => "<div class=\"col-lg-offset-1 col-lg-3\">{input} {label}</div>\n<div class=\"col-lg-8\">{error}</div>",
    ]) ?>
    <?= Html::submitButton('登录', ['class' => 'btn btn-lg btn-warning btn-block']) ?>
    <?php ActiveForm::end(); ?>
</div>

<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>